﻿<!DOCTYPE html>
<html ng-app="topics">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>@ViewBag.Title</title>
    @Styles.Render( "~/Content/css" )
    @Scripts.Render( "~/bundles/modernizr" )
</head>
<body>
    <div class="navbar navbar-default navbar-fixed-top">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                @Html.ActionLink( "Topics Directives", "Index", "Home", null, new { @class = "navbar-brand" } )
            </div>
            <div class="navbar-collapse collapse">
                <ul class="nav navbar-nav">
                    <li class="nav-pills" data-ng-class="{ active: $state.includes('home') || $state.includes('root') }"><a href="/#!/">Home</a></li>
                    <li class="dropdown nav-pills">
                        <a href="javascript:void(0);" class="dropdown-toggle" data-ng-class="{ active: $state.includes('typeahead') }" data-toggle="dropdown">Typeahead <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            <li><a href="/#!/typeahead/tags" data-ng-class="{ active: $state.includes('typeahead.tags') }">Tags Sample</a></li>
                            <li><a href="/#!/typeahead/templates" data-ng-class="{ active: $state.includes('typeahead.templates') }">Templates Sample</a></li>
                        </ul>
                    </li>
                    <li class="nav-pills">
                        <a href="javascript:void(0);" class="dropdown-toggle" data-ng-class="{ active: $state.includes('forms') }" data-toggle="dropdown">Forms <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            <li><a href="/forms/#!/validation" data-ng-class="{ active: $state.includes('forms.validation') }">Validation Sample</a></li>
                            <li><a href="/forms/#!/nestedValidation" data-ng-class="{ active: $state.includes('forms.nestedValidation') }">Nested Validation Sample</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <div class="container body-content">
        @RenderBody()
        <hr />
        <footer>
            <p>&copy; @DateTime.Now.Year - My ASP.NET Application</p>
        </footer>
    </div>

    @Scripts.Render( "~/bundles/jquery" )
    @Scripts.Render( "~/bundles/bootstrap" )
    @Scripts.Render( "~/bundles/angular" )
    @RenderSection( "scripts", required: false )
</body>
</html>
